-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't show track view if there is only one track #1209
base: main
Are you sure you want to change the base?
Conversation
If an event has only a single track, you cannot deselect that track, so the track view is rather pointless in that case. Therefore, we might as well not show it.
This pull request is deployed at test.editor.opencast.org/1209/2023-11-07_09-24-17/ . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good and seems to work (see https://test.editor.opencast.org/1209/2023-11-07_09-24-17/?mediaPackageId=ID-nasa-earth-4k)
It might still be confusing to users when part of the tooling just silently disappears. |
This pull request has conflicts ☹ |
This pull request is deployed at test.editor.opencast.org/1209/2024-01-18_15-16-40/ . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here only the info box thingy is still outstanding. Requesting changes to accurately represent the state.
Reverts previous change of not showing the track selection at all, and instead shows an info box in the track selection view.
This pull request has conflicts ☹ |
This pull request is deployed at test.editor.opencast.org/1209/2024-05-14_06-11-34/ . |
If an event has only a single track, you cannot deselect that track, so the track view is rather pointless in that case. Therefore, we might as well not show it.
Fixes #1205.